const express = require("express");
const router = express.Router();

// login路由
const login = require("../../../controller/weixin/admin/login");
// 图片上传路由
const upload = require("../../../controller/weixin/admin/upload");
// banner路由
const banner = require("../../../controller/weixin/admin/banner");
// users路由
const users = require("../../../controller/weixin/admin/users");
// notice路由
const notice = require("../../../controller/weixin/admin/notice");
// classify路由
const classify = require("../../../controller/weixin/admin/classify");
// tool路由
const tool = require("../../../controller/weixin/admin/tool");
// classification路由
const classification = require("../../../controller/weixin/admin/classification");
// questionbank路由
const questionbank = require("../../../controller/weixin/admin/questionbank");
// publish路由
const publish = require("../../../controller/weixin/admin/publish");

// login路由
router.use("/login", login);
// 图片上传路由
router.use("/upload", upload);
// banner路由
router.use("/banner", banner);
// users路由
router.use("/users", users);
// users路由
router.use("/notice", notice);
// users路由
router.use("/classify", classify);
// tool路由
router.use("/tool", tool);
// classification路由
router.use("/classification", classification);
// questionbank路由
router.use("/questionbank", questionbank);
// publish路由
router.use("/publish", publish);

module.exports = router;
